package introToJava;

import java.util.Scanner;

public class zad2 {

	public static void main(String[] args) {
		Scanner input = new Scanner (System.in);
		   System.out.print("Enter a radius r: ");
	    int r = input.nextInt();
	    double pi =  Math.PI;
	    
	       System.out.printf("The area of circle is: " + "%f %n", r*r*pi);
	       System.out.printf("The perimeter of circle is: " + "%f", 2*pi*r);
	       
	}

}
